//
//  BaseNavigationController.m
//  quickBatchManager
//
//  Created by 王定波 on 15/9/30.
//  Copyright © 2015年 jack. All rights reserved.
//

#import "BaseNavigationController.h"

#define pwidth  500
#define pheight  600

@interface BaseNavigationController ()

@end

@implementation BaseNavigationController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/
-(UIInterfaceOrientationMask)supportedInterfaceOrientations
{
    return UIInterfaceOrientationMaskLandscape;
}

- (void)viewWillLayoutSubviews{
    [super viewWillLayoutSubviews];;
   
    if(_isGesturePassword)
    {
        self.view.superview.frame=CGRectMake((SCREEN_WIDTH-pwidth)/2,(SCREEN_HEIGHT-pheight)/2,pwidth,pheight);
        self.view.superview.backgroundColor= [UIColor clearColor];

    }
}

@end
